home *** CD-ROM | disk | FTP | other *** search
/ Internet Tools (InfoMagic) / Internet Tools.iso / dos_win / winsock / maillist / 93-11.Z / 93-11 / 000111_news@samba.oit.unc.edu _Mon Nov 29 06:18:58 1993.msg < prev    next >
Internet Message Format  |  1993-11-30  |  7KB

  1. Received: from samba.oit.unc.edu by SunSITE.unc.edu (SMI4.1/FvK 1.02)
  2.           id AA11336; Mon, 29 Nov 93 06:18:58 EST
  3. Return-Path: <news>
  4. Received: by samba.oit.unc.edu (5.65/TAS/11-16-88)
  5.     id AA00690; Mon, 29 Nov 1993 06:18:37 -0500
  6. Received: from GATEWAY by samba.oit.unc.edu with netnews
  7.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  8. To: winsock@calypso.oit.unc.edu
  9. Date: Mon, 29 Nov 1993 10:19:13 +0000
  10. From: phil@iisc.demon.co.uk (Philip Shotton)
  11. Message-Id: <PHIL.93Nov29101913@dylan.iisc.demon.co.uk>
  12. Organization: IISC, Brain Surgery Dept.
  13. Sender: ses@calypso.oit.unc.edu
  14. References: <daf10.20.00128203@cwru.edu>
  15. Subject: Re: blocking
  16.  
  17. In article <daf10.20.00128203@cwru.edu> daf10@cwru.edu (David A. Ferrance) writes:
  18.  
  19.    Can someone tell me about blocking and the WSAE_WOULD_BLOCK (not sure if that
  20.    is it exactly-- close though).  I have no understanding of these concepts and 
  21.    although so far it has not hurt me, I'm sure that it will eventually.  This is 
  22.    until I can get home and get a book on the subject...
  23.  
  24.      thanks,
  25.     dave
  26.  
  27. Blocking simply means that a function call will not return until the
  28. operation is completed or terminates due to error. However if a
  29. resource has been set as non-blocking, then a function call that
  30. _would_ block in blocking mode, will return the error
  31. WSAE_WOULD_BLOCK. ie:
  32.  
  33.     n=recv(sock,buff,50,flags)
  34.  
  35. If sock is a blocking socket, n will either be 50 (and the function
  36. may take some time to return - possibly days!); or possibly return -1
  37. indicating an error. However if sock is flagged as non-blocking, the
  38. same call would return immediately with either 0 < n <= 50 (ie as many
  39. bytes as available to be read), or -1 to indicate error. If the
  40. latter, then the WSAGetLastError() call will return WSAEWOULDBLOCK if
  41. there was no data ready to be read.
  42.  
  43. Since Windows is brain-dead and can't pre-emptively multi-task, then
  44. all programming should use non-blocking calls, otherwise all other
  45. tasks will be hung waiting for completion.
  46.  
  47. Phil
  48.  
  49. --
  50. ####        Phil Shotton    -    phil@iisc.demon.co.uk    ####
  51. #### Investment Intelligence Systems Corporation, London, UK    ####
  52. #### Phone: +44 (0) 71 628 6960.  Fax: +44 (0) 71 638 7528      ####
  53. ###!            It's life Jim, but not as we know it    !###
  54. From news@samba.oit.unc.edu  Mon Nov 29 08:39:02 1993
  55. Received: from samba.oit.unc.edu by SunSITE.unc.edu (SMI4.1/FvK 1.02)
  56.           id AA17627; Mon, 29 Nov 93 08:39:02 EST
  57. Return-Path: <news>
  58. Received: by samba.oit.unc.edu (5.65/TAS/11-16-88)
  59.     id AA05613; Mon, 29 Nov 1993 08:37:13 -0500
  60. Received: from GATEWAY by samba.oit.unc.edu with netnews
  61.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  62. To: winsock@calypso.oit.unc.edu
  63. Date: 29 Nov 93 14:27:00 GMT
  64. From: rdri@nki.nl (Richard van Drimmelen)
  65. Message-Id: <1993Nov29.142700.7379@nki.nl>
  66. Sender: ses@calypso.oit.unc.edu
  67. Subject: Unloading packet drivers ??
  68.  
  69. Is there a switch to unload:
  70.     winpkt
  71.     odipkt
  72.     pktint
  73.  
  74. Thanks for your answers.
  75.  
  76.  
  77. Richard van Drimmelen
  78. Netherlands Cancer Institute, Amsterdam
  79. rdri@nki.nl
  80. From news@samba.oit.unc.edu  Mon Nov 29 09:39:19 1993
  81. Received: from samba.oit.unc.edu by SunSITE.unc.edu (SMI4.1/FvK 1.02)
  82.           id AA21838; Mon, 29 Nov 93 09:39:19 EST
  83. Return-Path: <news>
  84. Received: by samba.oit.unc.edu (5.65/TAS/11-16-88)
  85.     id AA07559; Mon, 29 Nov 1993 09:34:41 -0500
  86. Received: from GATEWAY by samba.oit.unc.edu with netnews
  87.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  88. To: winsock@calypso.oit.unc.edu
  89. Date: Mon, 29 Nov 1993 14:54:23
  90. From: koehntopp.pad@sni.de (Frank Koehntopp)
  91. Message-Id: <koehntopp.pad.6.000EE823@sni.de>
  92. Organization: Siemens Nixdorf Informationssysteme AG
  93. Sender: ses@calypso.oit.unc.edu
  94. Subject: VxDTCP site
  95.  
  96. By popular demand...
  97.  
  98. gopher biochemistry.cwru.edu
  99.  
  100. FTP archives/somewhere obviuos... :-)
  101.  
  102.  
  103.  
  104.  
  105. Will the first to successfully configure NNTP please tell me how he/she did it?
  106. Ta.
  107.  
  108. Frank.
  109.  
  110. ----------------------------------------------------------------------------
  111. Frank K"ohntopp                                    koehntopp.pad@sni.de         
  112. Pohlweg 175                                    or: koehntopp.pad@sni-usa.com
  113. 33100 Paderborn     
  114. From skeckhardt@mmm.com  Mon Nov 29 11:10:13 1993
  115. Received: from pigseye.mmm.com by SunSITE.unc.edu (SMI4.1/FvK 1.02)
  116.           id AA00170; Mon, 29 Nov 93 11:10:13 EST
  117. Received: by pigseye.mmm.com (4.1/SMI-4.1)
  118.     id AA02835; Mon, 29 Nov 93 10:08:02 CST
  119. Message-Id: <9311291607.AA02787@pigseye.mmm.com>
  120. From: skeckhardt@mmm.com
  121. Subject: LanMan TCP/IP
  122. To: winsock@sunsite.unc.edu
  123. Date: Mon, 29 Nov 93 9:10:17 CST
  124. Mailer: Elm [revision: 70.85]
  125.  
  126. There has been some discussion of the LanMan TCP/IP and Winsock in this
  127. forum.  I have (finally) succeeded in putting it all together.  You can
  128. obtain the LanMan client software (for DOS & Win3.1) via anonymous ftp
  129. from ftp.microsoft.com in the Advsys/MSclient/dos/35 or 525 directory.
  130. (The number refers to the size of floppy from which you will install it.)
  131. It is (I'm almost sure) free, but there is a license agreement involved.
  132. Once you have this software installed, you can install the Winsock.  This
  133. software is in the Advsys/lanman/sup-ed/winsock directory.  It includes
  134. all of the necessary instructions.
  135.  
  136. All of this is a lot of trouble if you do not have a LanMan server handy;
  137. the TCP/IP is a memory hog and performance isn't great.  But if you want
  138. both LanMan and Winsock, it works.  I personally prefer Windows NT or, at
  139. least Win for Workgroups.  We can't wait to see if Chicago will be approved
  140. by our Info Tech group and become the corporate standard when it is released.
  141. (Or, more likely, a year later.)
  142.  
  143. Steve E.
  144. From news@samba.oit.unc.edu  Mon Nov 29 12:20:26 1993
  145. Received: from samba.oit.unc.edu by SunSITE.unc.edu (SMI4.1/FvK 1.02)
  146.           id AA08219; Mon, 29 Nov 93 12:20:26 EST
  147. Return-Path: <news>
  148. Received: by samba.oit.unc.edu (5.65/TAS/11-16-88)
  149.     id AA12786; Mon, 29 Nov 1993 12:08:48 -0500
  150. Received: from GATEWAY by samba.oit.unc.edu with netnews
  151.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  152. To: winsock@calypso.oit.unc.edu
  153. Date: 29 Nov 1993 16:37:42 GMT
  154. From: heathh@cco.caltech.edu (Heath Ian Hunnicutt)
  155. Message-Id: <2dd8gm$sf4@gap.cco.caltech.edu>
  156. Organization: California Institute of Technology, Pasadena
  157. Sender: ses@calypso.oit.unc.edu
  158. Subject: Announcing: whois for NT
  159.  
  160. This morning I wrote a whois client for Windows NT (tm).  It is just
  161. a command-line client, but it (seems to) work.
  162.  
  163. You can get the x86 binary from ftp to: ftp.cco.caltech.edu, look
  164. under directory: /pub/heathh/nt/winsock for the files "whois.*"
  165.  
  166. Don't forget to set mode binary on your ftp client.
  167.  
  168. Send me mail whether you get it to work or not.  I am interested
  169. in whether people find it useful.
  170.  
  171. Cheers,
  172. Heath
  173.  
  174. -- 
  175. --
  176. >From the Home for Amnesiac Computer Scientists....
  177.   heathh@cco.caltech.edu